package com.booter.merchant.dao;

import com.booter.model.Dict;
import com.booter.model.MerchantOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface MerchantOrderMapper {

	int insert(MerchantOrder model);

	List<MerchantOrder> getByMid(Long mid);

	int deleteById(@Param("id") Long id,@Param("mid") Long mid);

	List<MerchantOrder> selectList(Map<String,Object> param);

	List<MerchantOrder> selectMList(Map<String,Object> param);
	int insertDict(Dict dict);
}
